<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Secure Sockets: Enumerated types</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="cypress_logo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Secure Sockets</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__group__secure__sockets__enums.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle"><div class="title">Enumerated types<div class="ingroups"><a class="el" href="group__group__secure__sockets.html">Secure Sockets API</a></div></div></div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga97cb501a58195859467b126cf2a2789d"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__secure__sockets__enums.html#ga97cb501a58195859467b126cf2a2789d">cy_socket_ip_version_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__secure__sockets__enums.html#gga97cb501a58195859467b126cf2a2789da32785b59f763a33cac58932132a90520">CY_SOCKET_IP_VER_V4</a> = 4
, <br />
&#160;&#160;<a class="el" href="group__group__secure__sockets__enums.html#gga97cb501a58195859467b126cf2a2789daa5efbdd596c434140bed0f8f0d5d9582">CY_SOCKET_IP_VER_V6</a> = 6
<br />
 }</td></tr>
<tr class="memdesc:ga97cb501a58195859467b126cf2a2789d"><td class="mdescLeft">&#160;</td><td class="mdescRight">IP Version.  <a href="group__group__secure__sockets__enums.html#ga97cb501a58195859467b126cf2a2789d">More...</a><br /></td></tr>
<tr class="separator:ga97cb501a58195859467b126cf2a2789d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf0599f554a1154ae83b4f587520fa705"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__secure__sockets__enums.html#gaf0599f554a1154ae83b4f587520fa705">cy_socket_tls_auth_mode_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__secure__sockets__enums.html#ggaf0599f554a1154ae83b4f587520fa705a5e65bc0e49bff7bd34ee1059c97f1d10">CY_SOCKET_TLS_VERIFY_NONE</a> = 0
, <br />
&#160;&#160;<a class="el" href="group__group__secure__sockets__enums.html#ggaf0599f554a1154ae83b4f587520fa705a3f29601bc8744e1493a2429c3382bc05">CY_SOCKET_TLS_VERIFY_OPTIONAL</a> = 1
, <br />
&#160;&#160;<a class="el" href="group__group__secure__sockets__enums.html#ggaf0599f554a1154ae83b4f587520fa705a68f0cd442bb9f64416a6351f6d8c5a78">CY_SOCKET_TLS_VERIFY_REQUIRED</a> = 2
<br />
 }</td></tr>
<tr class="memdesc:gaf0599f554a1154ae83b4f587520fa705"><td class="mdescLeft">&#160;</td><td class="mdescRight">Options for socket option <a class="el" href="group__group__secure__sockets__macros.html#ga9ce4ab8fca2ff7306f05f7433835f394">CY_SOCKET_SO_TLS_AUTH_MODE</a>.  <a href="group__group__secure__sockets__enums.html#gaf0599f554a1154ae83b4f587520fa705">More...</a><br /></td></tr>
<tr class="separator:gaf0599f554a1154ae83b4f587520fa705"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6a02f37745fb60c714f996c4b6b9d4f7"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__secure__sockets__enums.html#ga6a02f37745fb60c714f996c4b6b9d4f7">cy_socket_interface_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__secure__sockets__enums.html#gga6a02f37745fb60c714f996c4b6b9d4f7a4c29893d5c30a68987a78f2d5db9cff1">CY_SOCKET_STA_INTERFACE</a> = 0
, <br />
&#160;&#160;<a class="el" href="group__group__secure__sockets__enums.html#gga6a02f37745fb60c714f996c4b6b9d4f7a48dee990dfe5215a3e280708445fbe84">CY_SOCKET_AP_INTERFACE</a> = 1
, <br />
&#160;&#160;<a class="el" href="group__group__secure__sockets__enums.html#gga6a02f37745fb60c714f996c4b6b9d4f7a8c02e2e0f9f58a58b345be964eae7ad8">CY_SOCKET_ETH0_INTERFACE</a> = 2
, <br />
&#160;&#160;<a class="el" href="group__group__secure__sockets__enums.html#gga6a02f37745fb60c714f996c4b6b9d4f7ac07b7b09b28325e6bbee819f126fad4d">CY_SOCKET_ETH1_INTERFACE</a> = 3
<br />
 }</td></tr>
<tr class="memdesc:ga6a02f37745fb60c714f996c4b6b9d4f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Options for socket option <a class="el" href="group__group__secure__sockets__macros.html#ga9bcc73d3e5fd22f8cceb98f57507703d">CY_SOCKET_SO_BINDTODEVICE</a>.  <a href="group__group__secure__sockets__enums.html#ga6a02f37745fb60c714f996c4b6b9d4f7">More...</a><br /></td></tr>
<tr class="separator:ga6a02f37745fb60c714f996c4b6b9d4f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ga97cb501a58195859467b126cf2a2789d" name="ga97cb501a58195859467b126cf2a2789d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga97cb501a58195859467b126cf2a2789d">&#9670;&nbsp;</a></span>cy_socket_ip_version_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__secure__sockets__enums.html#ga97cb501a58195859467b126cf2a2789d">cy_socket_ip_version_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>IP Version. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga97cb501a58195859467b126cf2a2789da32785b59f763a33cac58932132a90520" name="gga97cb501a58195859467b126cf2a2789da32785b59f763a33cac58932132a90520"></a>CY_SOCKET_IP_VER_V4&#160;</td><td class="fielddoc"><p >IPv4 protocol. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga97cb501a58195859467b126cf2a2789daa5efbdd596c434140bed0f8f0d5d9582" name="gga97cb501a58195859467b126cf2a2789daa5efbdd596c434140bed0f8f0d5d9582"></a>CY_SOCKET_IP_VER_V6&#160;</td><td class="fielddoc"><p >IPv6 protocol. </p>
</td></tr>
</table>

</div>
</div>
<a id="gaf0599f554a1154ae83b4f587520fa705" name="gaf0599f554a1154ae83b4f587520fa705"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf0599f554a1154ae83b4f587520fa705">&#9670;&nbsp;</a></span>cy_socket_tls_auth_mode_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__secure__sockets__enums.html#gaf0599f554a1154ae83b4f587520fa705">cy_socket_tls_auth_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Options for socket option <a class="el" href="group__group__secure__sockets__macros.html#ga9ce4ab8fca2ff7306f05f7433835f394">CY_SOCKET_SO_TLS_AUTH_MODE</a>. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggaf0599f554a1154ae83b4f587520fa705a5e65bc0e49bff7bd34ee1059c97f1d10" name="ggaf0599f554a1154ae83b4f587520fa705a5e65bc0e49bff7bd34ee1059c97f1d10"></a>CY_SOCKET_TLS_VERIFY_NONE&#160;</td><td class="fielddoc"><p >Peer certificate is not checked (default authentication mode for server sockets). </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaf0599f554a1154ae83b4f587520fa705a3f29601bc8744e1493a2429c3382bc05" name="ggaf0599f554a1154ae83b4f587520fa705a3f29601bc8744e1493a2429c3382bc05"></a>CY_SOCKET_TLS_VERIFY_OPTIONAL&#160;</td><td class="fielddoc"><p >Peer certificate is checked, but the handshake continues even if verification fails. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaf0599f554a1154ae83b4f587520fa705a68f0cd442bb9f64416a6351f6d8c5a78" name="ggaf0599f554a1154ae83b4f587520fa705a68f0cd442bb9f64416a6351f6d8c5a78"></a>CY_SOCKET_TLS_VERIFY_REQUIRED&#160;</td><td class="fielddoc"><p >Peer must present a valid certificate; handshake is aborted if verification failed (default authentication mode for client sockets). </p>
</td></tr>
</table>

</div>
</div>
<a id="ga6a02f37745fb60c714f996c4b6b9d4f7" name="ga6a02f37745fb60c714f996c4b6b9d4f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6a02f37745fb60c714f996c4b6b9d4f7">&#9670;&nbsp;</a></span>cy_socket_interface_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__secure__sockets__enums.html#ga6a02f37745fb60c714f996c4b6b9d4f7">cy_socket_interface_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Options for socket option <a class="el" href="group__group__secure__sockets__macros.html#ga9bcc73d3e5fd22f8cceb98f57507703d">CY_SOCKET_SO_BINDTODEVICE</a>. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga6a02f37745fb60c714f996c4b6b9d4f7a4c29893d5c30a68987a78f2d5db9cff1" name="gga6a02f37745fb60c714f996c4b6b9d4f7a4c29893d5c30a68987a78f2d5db9cff1"></a>CY_SOCKET_STA_INTERFACE&#160;</td><td class="fielddoc"><p >STA or Client Interface <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6a02f37745fb60c714f996c4b6b9d4f7a48dee990dfe5215a3e280708445fbe84" name="gga6a02f37745fb60c714f996c4b6b9d4f7a48dee990dfe5215a3e280708445fbe84"></a>CY_SOCKET_AP_INTERFACE&#160;</td><td class="fielddoc"><p >softAP Interface <br  />
 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6a02f37745fb60c714f996c4b6b9d4f7a8c02e2e0f9f58a58b345be964eae7ad8" name="gga6a02f37745fb60c714f996c4b6b9d4f7a8c02e2e0f9f58a58b345be964eae7ad8"></a>CY_SOCKET_ETH0_INTERFACE&#160;</td><td class="fielddoc"><p >Ethernet Interface index 0. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6a02f37745fb60c714f996c4b6b9d4f7ac07b7b09b28325e6bbee819f126fad4d" name="gga6a02f37745fb60c714f996c4b6b9d4f7ac07b7b09b28325e6bbee819f126fad4d"></a>CY_SOCKET_ETH1_INTERFACE&#160;</td><td class="fielddoc"><p >Ethernet Interface index 1. </p>
</td></tr>
</table>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Secure Sockets</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
</body>
</html>
